package com.cdn.nodes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cdn.common.core.annotation.Excel;
import com.cdn.common.core.web.domain.BaseEntity;

/**
 * 初始化节点脚本对象 edge_node_script
 * 
 * @author Cinzia
 * @date 2024-12-20
 */
public class EdgeNodeScript extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 初始化脚本代码，用于节点的自动化配置或初始化操作 */
    @Excel(name = "初始化脚本代码，用于节点的自动化配置或初始化操作")
    private String initializationScript;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInitializationScript(String initializationScript) 
    {
        this.initializationScript = initializationScript;
    }

    public String getInitializationScript() 
    {
        return initializationScript;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("initializationScript", getInitializationScript())
            .toString();
    }
}
